package com.crm.model.vo.customerContractManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author yincuimei
 * @Date 2021/3/18 10:30
 * 合同列表--合同详情实体类
 */
@Data
public class CustomerContractDetailVO {
    //合同ID
    private String contractId;

    //订单ID
    private String orderId;

    //合同编号
    private String contractNumber;

    //订单编号
    private String orderNumber;

    //订单主键
    private String productOrderId;

    //创建人(所属人)
    private String createPeopleName;

    //所属分公司
    private String companyName;

    //创建时间
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date createTm;

    //合同类型
    private String contractType;

    //合同状态
    private String contractStatus;

    //客户名称
    private String customerName;

    //客户id
    private String customerId;

    //联系人
    private String contactName;

    //联系方式
    private String contactDetails;

    //客户邮箱
    private String customerEmail;

    //主会员合同(通过点击查看链接进入合同详情页))
    private String masterMembershipContract;

    //合同开始日期
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date contractStartDate;

    //合同结束日期
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date contractEndDate;

    //回款日期
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date payBackDate;

    //付款账号
    private String paymentAccount;

    //付款方式
    private String paymentMethod;

    //跟进记录(通过点击查看链接进入跟进记录详情页)
    private String followRecordId;

    //商机(通过点击查看链接进入跟进商机详情页)
    private String opportunityId;

    //审核是否加盖公章
    private String applyElectronicContract;

    //是否保密
    private String whetherKeepSecret;

    //提前/延期原因
    private String advancePostponementReason;

    //合同总金额
    private BigDecimal contractTotalAmount;

    //合同优惠总金额
    private BigDecimal contractDiscountTotalAmount;

    //合同实际总金额
    private BigDecimal contractActualTotalAmount;

    //合同应收款
    private BigDecimal contractReceivables;

    //审核状态
    private String contractReviewStatus;

    //是否合作开发
    private String whetherCooperateDevelopment;

    //合同附件
    private String contractAnnexId;

    //合同附件访问URL
    private String contractAnnexAccessUrl;

    //审核附件
    private String reviewAnnexId;

    //审核附件访问URL
    private String reviewAnnexAccessUrl;

    //合作开发人
    private List<String> coDeveloperList;
}
